package com.object.module.cbb.controller;

import com.common.utils.Q;
import com.object.module.cbb.service.CbbAreaServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/cbb/cbbarea")
public class CbbAreaControoler {

    @Autowired
    private CbbAreaServer cbbAreaServer;

    @GetMapping("/list")
    public Q list() {
        return cbbAreaServer.listArea();
    }
}
